package net.wxxr.http.model.pojo;

import java.util.ArrayList;
import java.util.Hashtable;

import net.wxxr.dataparse.model.HttpCode;



public class HttpResult {

	public static final int RES_OK = 1; 
	
	/**
	 * http请求响应给客户端的结果码
	 */
	private HttpCode resultCode;
	
	/**
	 * http请求响应给客户端的结果数据
	 */
	private byte[] data;
	
	/**
	 * http请求响应给客户端的报文头信息
	 * @return
	 */
	
	private Hashtable<String,String> headersData = null;
	
	

	public Hashtable<String, String> getHeadersData() {
		return headersData;
	}

	public void setHeadersData(Hashtable<String, String> headersData) {
		this.headersData = headersData;
	}

	public HttpCode getResultCode() {
		return resultCode;
	}

	public void setResultCode(HttpCode resultCode) {
		this.resultCode = resultCode;
	}


	public byte[] getData() {
		return data;
	}

	
	public void setData(byte[] data) {
		this.data = data;
	}


}
